<?php
// Logging class initialization
$log = new Logging();
// set path and name of log file (optional)
$log->lfile('/myphplog/mylog.log');
// write message to the log file
$log->lwrite('Test message');

?>